/**
 * Created by Lenovo on 2019/1/11.
 */
//ES5
window.onload=function(){
    bastPath();

};
function bastPath(){
    var basePath = getProjectName();
    return basePath;
}


function getProjectName() {
    var strUrl = window.location.href;
    var url = strUrl.substr(7, strUrl.length);
    var arrUrl = url.split("/");
    return "/"+arrUrl[1];

}
